package com.mmz.spring.aop.framework;

import java.io.Serializable;



public class ProxyConfig implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private boolean proxyTargetClass = false;

	private boolean optimize = false;

	boolean opaque = false;

	boolean exposeProxy = false;

	private boolean frozen = false;
	
	
	public void setProxyTargetClass(boolean proxyTargetClass) {
		this.proxyTargetClass = proxyTargetClass;
	}

	
	public boolean isProxyTargetClass() {
		return this.proxyTargetClass;
	}

	
	public void setOptimize(boolean optimize) {
		this.optimize = optimize;
	}

	
	public boolean isOptimize() {
		return this.optimize;
	}

	
	public void setOpaque(boolean opaque) {
		this.opaque = opaque;
	}

	
	public boolean isOpaque() {
		return this.opaque;
	}

	
	public void setExposeProxy(boolean exposeProxy) {
		this.exposeProxy = exposeProxy;
	}

	
	public boolean isExposeProxy() {
		return this.exposeProxy;
	}

	


	
	public void copyFrom(ProxyConfig other) {
		
		this.proxyTargetClass = other.proxyTargetClass;
		this.optimize = other.optimize;
		this.exposeProxy = other.exposeProxy;
		this.frozen = other.frozen;
		this.opaque = other.opaque;
	}

}
